package com.example.demo.app.repository;

import com.example.demo.domain.entity.Teacher;

import java.util.List;

public interface TeacherRepository {
    Teacher queryTeacherById(Integer id);

    List<Teacher> queryTeacherList();

    Integer addTeacher(Teacher teacher);

    Integer saveTeacher(Teacher teacher);

    Integer deleteTeacherById(Integer id);
}
